package com.yourname.xhs.dao;

import com.yourname.xhs.bean.Announce;

import java.sql.SQLException;
import java.util.List;

public interface AnnounceDao {
        //发布通告
        public abstract boolean createAnnounce(Announce announce) throws SQLException;

        //删除通告
        public abstract int deleteAnnounce(Long id);

        //查看通告
        public abstract List<Announce> selectAnnounce() throws Exception;


}
